@model MvcCmsWikiPlex.Models.ViewData.WikiModel
@{
    ViewBag.Title = "Manage Wiki";
    Layout = "~/RazorThemes/Default/Views/Shared/_Layout.cshtml";
}
@section HtmlHead{
}
<h2>
    Manage Wiki</h2>
@Html.ActionLink("Wiki Home", "ViewWiki") <span class="field-validation-error">@ViewData["message"].ToString()</span>
<form id="theform" action="EditSettings" method="post">
<div>
    <p>
        <label>
            Allow Anonymous Edit</label>
        @Html.CheckBox("AllowAnonymousEdit", Model._WikiSetting.AllowAnonymousEdit)
    </p>
    <p>
        <label>
            Allow Anonymous Create</label>
        @Html.CheckBox("AllowAnonymousCreate", Model._WikiSetting.AllowAnonymousCreate)
    </p>
    <p>
        <label>
            Role For Edit</label>
        @Html.TextBox("RoleForEdit", Model._WikiSetting.RoleForEdit)
    </p>
    <p>
        <label>
            Role For Create</label>
        @Html.TextBox("RoleForCreate", Model._WikiSetting.RoleForCreate)
    </p>
    <p class="submit">
        <input type="submit" value="Submit" />
    </p>
</div>
@Html.Hidden("WikiSettingID", Model._WikiSetting.WikiSettingID)
</form>
